Skip to main content

XPDFViewer_GetSelectionText

Type

function

Summary

Return the selected text in ANSI.

Syntax

XPDFViewer_GetSelectionText(<viewerName>)

Description

This function should be considered deprecated in favor of XPDFViewer_GetSelectionUnicode

The following errors may be thrown by the command:

  • XPDF_ERROR: incorrect number of parameters
  • XPDF_ERROR: PDF viewer not found

Parameters

NameTypeDescription

viewerName

string

The name of the viewer.

pageNumber

integer

The pageNumber to return the text of.

Examples

put XPDFViewer_GetSelectionText("Document1") into fld "selected text"

Compatibility and Support

Introduced

LiveCode 1.0.0

OS

mac

windows

Platforms

desktop

Thank you for your feedback!

Was this page helpful?